/*
 *    Copyright (c) 2018-2025, zhangjian All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the jfcloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: zhangjian (i_amzxj@163.com)
 */

package com.gitee.zeric.codec.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gitee.zeric.codec.entity.SysCodeRuleGenerate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 系统编码生成规则模块
 *
 * @author zhangjian
 * @date 2021-12-07 14:44:01
 */
@Mapper
public interface SysCodeRuleGenerateMapper extends BaseMapper<SysCodeRuleGenerate> {

    Integer selectCodeCount(@Param("ruleCode") String ruleCode, @Param("code") String code);

    Integer insertCode(@Param("ruleCode") String ruleCode, @Param("code") String code);
}
